import request from '@/utils/request'

// 查询后续融资历史列表
export function listCompanyFollowFinance(query) {
  return request({
    url: '/followFinance/companyFollowFinance/list',
    method: 'get',
    params: query
  })
}

// 查询后续融资历史详细
export function getCompanyFollowFinance(id) {
  return request({
    url: '/followFinance/companyFollowFinance/' + id,
    method: 'get'
  })
}

// 保存后续融资历史
export function saveCompanyFollowFinance(data) {
  return request({
    url: '/followFinance/companyFollowFinance/save',
    method: 'post',
    data: data
  })
}

// 删除后续融资历史
export function delCompanyFollowFinance(id) {
  return request({
    url: '/followFinance/companyFollowFinance/' + id,
    method: 'delete'
  })
}

// 导出后续融资历史
export function exportCompanyFollowFinance(query) {
  return request({
    url: '/followFinance/companyFollowFinance/export',
    method: 'get',
    params: query
  })
}
